package com.showgood.controller {
	import com.showgood.core.AbstractSimpleCommand;
	import com.showgood.config.SangoConst;
	import com.showgood.socket.SingleSocketCommand;
	import com.showgood.vo.RemoteMessage;
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 响应任务的详情
	 * @author bianpeng
	 */
	public class ReplyManDetailCommand extends AbstractSimpleCommand {
		
		public function ReplyManDetailCommand() {
			super();
		}
		override public function execute(notify:INotification):void {
			var _cmd:SingleSocketCommand = notify.getBody() as SingleSocketCommand; 
			switch(_cmd.message()) {
				case RemoteMessage.REMOTE_QUERY_CHUZHENG_MAN_DETAIL:
					sendNotification(SangoConst.SHOW_CHUZHENG_MAN_DETAIL, _cmd.data);
				break;
			}
		}
	}
}

